package com.house.customer.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import com.house.customer.entity.Customer;

public interface ICustomerService {
     
	public void saveOrUpdate(Customer customer);
	public void delete(Customer customer);
	public void delete(List<Long> ids);
	
	public Customer findOne(Long id);
	public List<Customer> findAll();

	public Page<Customer> findAll(Specification<Customer> spec, Pageable pageable);
	

}
